package com.gitee.hermer.engine.jars.dependent.disconf.annotate;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

import com.gitee.hermer.engine.jars.dependent.disconf.configuration.DisconfClientAutoConfiguration;


@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({DisconfClientAutoConfiguration.class})
public @interface EnableDisconfScan {
	
	public enum PropertiesMode {
		/**
		 * Check system properties first, before trying the specified properties.
		 * This allows system properties to override any other property source.
		 */
		SYSTEM_PROPERTIES_MODE_OVERRIDE,
		/** Never check system properties. */
		SYSTEM_PROPERTIES_MODE_NEVER,
		/**
		 * Check system properties if not resolvable in the specified properties.
		 * This is the default.
		 */
		SYSTEM_PROPERTIES_MODE_FALLBACK

	}


}
